/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.x                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      changeDictionaryDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

boundary
{
    topAir_top
    {
        type            symmetryPlane;
    }
}

U
{
    internalField   uniform (1 0 0);

    boundaryField
    {
        leftLet
        {
            type            fixedValue;
            value           uniform ( 1 0 0 );
        }

        rightLet
        {
            type            inletOutlet;
            inletValue      uniform ( 0 0 0 );
            value           uniform ( 1 0 0 );
        }

        topAir_top
        {
            type            symmetryPlane;
        }
       
        "topAir_to_.*"
        {
            type            fixedValue;
            value           uniform (0 0 0);  /// No slip condition 
        }
    }
}

T
{
    internalField   uniform 298;

    boundaryField
    {
        leftLet
        {
            type            fixedValue;
            value           uniform 298;
        }

        rightLet
        {
            type            inletOutlet;   
            inletValue      uniform 298 ;
           
        }

        topAir_top
        {
             type             symmetryPlane;
            
        }

        topAir_to_wall
        {     type            compressible::turbulentTemperatureCoupledBaffleMixed;
              Tnbr            T;
              kappaMethod     fluidThermo;
              kappaName       none;
              value           uniform 298;
        }
 topAir_to_wallad1
        {
          
              type            compressible::turbulentTemperatureCoupledBaffleMixed;
              Tnbr            T;
              kappaMethod     fluidThermo;
              kappaName       none;
              value           uniform 298;
}
     topAir_to_wallad2
        {
            
               type            compressible::turbulentTemperatureCoupledBaffleMixed;
               Tnbr            T;
               kappaMethod     fluidThermo;
               kappaName       none;
               value           uniform 298;
}

    }
}

epsilon
{
    internalField   uniform 0.01;

    boundaryField
    {
        rightLet
        {
            type            inletOutlet;
            inletValue      uniform 0.01;
            value           uniform 0.01;
        }

        leftLet
        {
            type            fixedValue;
            value           uniform 0.01;
        }

        topAir_top
        {
            type            symmetryPlane;
        }

        "topAir_to_.*"
        {
            type            compressible::epsilonWallFunction;
            value           uniform 0.01;
        }
    }
}

k
{
    internalField   uniform 0.1;

    boundaryField
    {
        leftLet
        {
            type            inletOutlet;
            inletValue      uniform 0.1;
            value           uniform 0.1;
        }

        rightLet
        {
            type            fixedValue;
            value           uniform 0.1;
        }

        topAir_top
        {
            type            symmetryPlane;
        }

        "topAir_to_.*"
        {
            type            compressible::kqRWallFunction;
            value           uniform 0.1;
        }
    }
}

p_rgh
{
    internalField   uniform 1e5;

    boundaryField
    {
        ".*"
        {
            type            fixedFluxPressure;
            value           uniform 1e5;
        }

        topAir_top
        {
            type            symmetryPlane;
        }

        rightLet
        {
            type            fixedMean;
            meanValue       uniform 1e5;
            value           uniform 1e5;
        }

        frontAndBack
        {
            type            empty;
        }

    }
}

p
{
    internalField   uniform 1e5;

    boundaryField
    {
        ".*"
        {
            type            calculated;
            value           uniform 1e5;
        }

        topAir_top
        {
            type            symmetryPlane;
        }

        leftLet
        {
            type            calculated;
            value           uniform 1e5;
        }

        frontAndBack
        {
            type            empty;
        }
    }
}

// ************************************************************************* //
